package com.jsh.erp.datasource.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

/**
 * @author : yy
 * @date: 2025/6/3 15:38
 * @description:
 */
@TableName(value = "jsh_bom_material")
public class BomMaterial {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long proMaterialId;

    private String bomBarCode;

    private Integer num;

    private BigDecimal allPrice;

    private String remarks;

    private Long tenantId;

    private String deleteFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProMaterialId() {
        return proMaterialId;
    }

    public void setProMaterialId(Long proMaterialId) {
        this.proMaterialId = proMaterialId;
    }

    public String getBomBarCode() {
        return bomBarCode;
    }

    public void setBomBarCode(String bomBarCode) {
        this.bomBarCode = bomBarCode;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getAllPrice() {
        return allPrice;
    }

    public void setAllPrice(BigDecimal allPrice) {
        this.allPrice = allPrice;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
